package com.qing.springbootinit.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.qing.springbootinit.model.entity.ChatMessages;

import javax.servlet.http.HttpServletRequest;


/**
 * @author <a href="https://github.com/qingfengzy">qingfengzy</a>
* @description 针对表【chatmessages(聊天消息表)】的数据库操作Service
* @createDate 2025-04-29 20:50:06
*/
public interface ChatmessagesService extends IService<ChatMessages> {
    /**
     * AI对话核心方法
     * @param request
     * @param roomId
     * @param userPrompt
     * @return
     */
    String doChatOFIM(HttpServletRequest request,String roomId,String userPrompt);

    String doChatOfDB(HttpServletRequest request, String roomId, String userPrompt);

}
